package net.csdn.business.common.domain.mirror;


import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ProjectMirrorVO {

    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /**
     * 目标仓库的id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long projectId;

    /**
     * 源镜像仓库的path
     */
    private String repoPath;


    /**
     * 目标仓库的path
     */

    private String fullPath;


    private Integer status;

    private Date lastExecutionAt;

    private Date nextSyncExecutionAt;

    private Integer syncStatus;

    private Date lastSyncSuccessfulUpdateAt;

    private String lastError;

    private String lastSyncError;

    private String creator;

    private String creatorId;

    private String targetOrg;

    private String targetOrgId;


    private Integer userType;

    private Integer type;

    private Integer isSync;

    private String description;



}